//
//  UserSingleton.m
//  APP_login
//
//  Created by edz on 7/12/21.
//  Copyright © 2021 baicai. All rights reserved.
//

#import "UserSingleton.h"
#import "InformationModel.h"

@implementation UserSingleton
static UserSingleton *infoSinglent = nil;

+ (instancetype) shareInfoSinglent{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        infoSinglent = [[super allocWithZone:nil] init];
    });
    return infoSinglent;
}

+ (id)allocWithZone:(struct _NSZone *)zone{
    return [self shareInfoSinglent];
}

- (id)copy{
    return infoSinglent;
}

- (id)mutableCopy{
    return infoSinglent;
}
@end
